package cn.zysuyuan.item.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-02-17 19:46
 */
public class ProductBaseMedicinalGoneEdition implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;   //基地中的某种药材的原料去向表的主键
    private String gMedicinalId;     //这个原料去向所属的药材的id
    private String gProductbaseId;    //这个原料去向所属基地的id
    private String gName;       //基地中该药材的这种原料去向的名字  （这一项在基地药材原料去向表中并没有）    9.11：后面原料去向表作废之后，原料去向直接变成了一个属性，关联表中新家了这个g_name
    private Double gMedicinalGoneSale;    //该（基地）原料去向的销量
    private Double gMedicinalGoneProportion;   //该（基地）原料去向所占总产量的比例
    private Double gMedicinalGonePrice;    //该（基地）原料去向的价格
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gCreateTime;      //创建时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eTime; // 版本时间，也叫归档时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getgMedicinalId() {
        return gMedicinalId;
    }

    public void setgMedicinalId(String gMedicinalId) {
        this.gMedicinalId = gMedicinalId;
    }

    public String getgProductbaseId() {
        return gProductbaseId;
    }

    public void setgProductbaseId(String gProductbaseId) {
        this.gProductbaseId = gProductbaseId;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Double getgMedicinalGoneSale() {
        return gMedicinalGoneSale;
    }

    public void setgMedicinalGoneSale(Double gMedicinalGoneSale) {
        this.gMedicinalGoneSale = gMedicinalGoneSale;
    }

    public Double getgMedicinalGoneProportion() {
        return gMedicinalGoneProportion;
    }

    public void setgMedicinalGoneProportion(Double gMedicinalGoneProportion) {
        this.gMedicinalGoneProportion = gMedicinalGoneProportion;
    }

    public Double getgMedicinalGonePrice() {
        return gMedicinalGonePrice;
    }

    public void setgMedicinalGonePrice(Double gMedicinalGonePrice) {
        this.gMedicinalGonePrice = gMedicinalGonePrice;
    }

    public Date getgCreateTime() {
        return gCreateTime;
    }

    public void setgCreateTime(Date gCreateTime) {
        this.gCreateTime = gCreateTime;
    }

    public Date geteTime() {
        return eTime;
    }

    public void seteTime(Date eTime) {
        this.eTime = eTime;
    }
}
